html{
    scroll-behavior: smooth;
}
body{
    font-family: 'Poppins', sans-serif;
    margin:0px;
    width:100%;
    padding: 0px;
    box-sizing: border-box;
    /* overflow: hidden; */
}
header{
    position: sticky;
    top:0px;
    left:0px;
    width:100%;
    height:80px;
    background: #1c1d25;
    opacity: 1;
    z-index: 2999;
    /* opacity=inverse of transparency. Higher the opacity, lower the transparency. Range of values of opacity is from 0.00 to 1.00 */
}
section{
    min-height: 100vh;
    width: 100%;
    background-color: #1c1d25;
    display: block;
}
.nav-bar{
    position: sticky;
    top:0; 
    left:0; 
    right: 0;
    width:100%;
    color: #1c1d25;
    opacity: 1;
}
.go-to-top{
    /* position:fixed; */
    display: none;
    width: 25px;
    height: 25px;
    border-radius:5px;
    padding: 0%;
    padding-top: 5px;
    background-color:black;
    box-shadow: 3px 1px 30px 1px whitesmoke;
    font-weight: bold;
    text-align: center;
    right:10px;
    bottom:10px;
    z-index: 99999;
}
.go-to-top a{
    color: white;
}
.go-to-top:hover{
    bottom:11px;
}
.hero{
    background-color: #1c1d25;
    height: 100vh;/* 100vh=100 percent of viewport height */ 
    color: white;/*font-color */
}
nav{
    display: flex;
    justify-content: space-between;
    /*logo will always be on absolute left and ul will always be on absolute right*/
    border-bottom:solid white;
}
nav ul{
    display: flex;
    list-style-type: none;
    /* to remove dots(like bullet points) of list items */
    width: 500px;
    justify-content: space-around;
    font-size: 20px;
}
li{
    width: auto;
    text-decoration: none;
}
h1{
    font-size: 50px;
    margin:0px;
    color:white;
}
p{
    margin:0px;
    font-weight: 300;
    font-size:30px;
}
a{
    text-decoration: none;
}
.hero-area{
    margin:0px;
    height: 80%; 
    display: flex;
    flex-wrap:wrap;
    justify-content: space-between;
    align-items:center;
    padding-right: 30px;
}
/* .image-of-header{
    width:300px;
    height:100%;
    display: flex;
    flex-direction:row;
    justify-content: center;
    align-items: center;
} */
.hero-text{
    margin-left: 40px;
    margin-bottom: 40px;
    padding:0px;
}
button{
    background-color: coral;
    border: none;
    color:white;
    font-size: large;
    font-weight:normal;
    border-radius: 25px;
    padding:10px;   
    width: fit-content;
}
button:hover{
    color:#dddddd;
}
.button{
    width: 150px;
    height: 35px;
    background-color: #ff7f50;
    color:white;
    text-align: center;
    border-radius: 40px;
    font-weight: 300;
    font-size:20px;
    padding-top: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
}
/* .button:hover{
    /* when hovering, changing background color 
    background-color: #ef744b;
} */
/* .button:active{
    /*when clicked it shows this effect and roll backs to previous normal effect
    background-color: #A9A9A9;
    color:#808080;
} */
.socials{
    padding-top:20px;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.social{
    height: 50px;
    width: 50px;  
    margin-right:5px;
    /* margin-top:0px;
    margin-bottom:0px; */
}
.social :hover{
    /* margin-right:8px; */
    height:35px;
    width:35px;
}
a{
    color:white;
}
a:hover{
    color:lightgray;
}
a:active{
    color:coral;
}
.logo{
    height:50px;
    margin: 10px;
}
footer{
    text-align: center;
    background-color:#1c1d25;
    color:white;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height:100vh;
    width:100%;
}
form{
    margin-top:50px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    font-size: medium;
    border:solid white 1px;
    border-radius: 25px;
    height:80vh;
    width: 70vw;
}
input{
    text-decoration: none;
    border-style: none;
    width:60vw;
    height: 30px;
    border-radius: 5px;
}
textarea{
    border-radius: 5px;
    resize: vertical;
    width: 60vw;
    height:60px;
    font-size: medium;
    margin:0px;
}
footer p{
    font-size: small;
    margin-bottom: 0px;
}
/* if the screen width is smaller than or equal to 600px below media query works */
@media only screen and (max-width: 580px) {
    /* removing navbar */
    .nav-bar ul{
        display: none;
        width:0px;
    }
    /* displaying hamburger menu */
    .hamburger .bar{
        display:block;
        width:20px;
        height: 3px;
        margin:5px;
    }
    .left-Container > article{
        width:90vw;
        height:fit-content;
        margin:0px;
        padding:0px;
    }
    table{
        width:380px;
        height: auto;
        align-items: center;
    }
    td{
        margin:0px;
        padding:0px;
    }
    td > .progress-bar{
        height:7px;
        width:180px;
    }
    td > div > a > img{
        width:35px;
        height:35px;
        padding:0px;
    }
    .about h2{
        margin:0px;
        margin-top: 10px;
        margin-bottom: 10px;
        width:100%;
        height: fit-content;
        padding: 0px;
    }
    .about .content{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        flex-wrap: wrap;
        padding:20px;
    }
    .about img{
        padding:0px;
        margin-top:20px;
        margin-bottom: 20px;
    }
    .hero-area{
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-around;
      /* align-items:flex-start; */
      width:90%;
      height:80%;
      padding-top: 20px;
    }
    .hero-text{
        width:100%;
    }
    .image-of-header{
        width:100%;
    }
    .hero-area h1{
        margin-top:0px;
        font-size: 40px;
    }
    .hero-area h2{
        margin-top:0px;
        margin-bottom: 0px;
        font-weight: lighter;
        font-size: 30px;
    }
    .hero-area p{
        font-size: 22px;
    }
    /* .hero-area .button{
        margin:10px;
        font-size: medium;
    } */
  }
  .about{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* flex-wrap: wrap; */
    /* background-color: rgba(121, 54, 30, 0.887); */
    align-items: center;
  }
  .about img{
    width: 220px;
    height: 220px;
    border-radius: 50%;
  }
  .about p{
    width: 70vw;
    color: white;
  }
  .projects{
    /* position:static; */
    /* min-height:100vh; */
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }
  .container{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-end;
    flex-wrap: wrap;
  }
  .card{
    background-color: lightblue;
    border:solid white 1px; 
    width: 250px;
    height:130px;
    border-radius:8px;
    margin-left:20px;
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction:row;
    justify-content: flex-start;
  }
  .card .side{
    justify-self: center;
    display: flex;
    flex-direction:column;
    justify-content:stretch;
    align-items:stretch;
    margin: 0px;
  }
  .card .side .button{
    margin: 0px;
    align-self: stretch;
    font-size: medium;
    border-radius:0px 0px 5px 0px ;
    width: 100%;
    height: 20%;
  }
  .card img{
    border-radius: 8px;
    margin: 0px;
    width: 50%;
    height: 100%;
  }
.card .side p{
    font-size: x-small;
    display: inline-flex;
    background-color: beige;
    align-self: stretch;
    text-align: center;
    /* margin-left:5px;
    margin-right: 5px; */
    width: 100%;
    height:80%;
}
button a{
    text-decoration: none;
    color: white;
}
button a:hover{
    /* when hovering, changing background color */
    background-color: #ed5f22;
    /* background-color: #ff7f50; */
}
.card .side button a:active{
    /*when clicked it shows this effect and roll backs to previous normal effect*/
    color:#808080;
}

.about{
    display: flex;
    flex-direction: column;
    justify-content:space-evenly;
    align-items: center;
}
.about .content{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content:space-around;
    align-items: flex-start;
}
/* .about .content p{
    width:60%;
} */

.whole-container{
    /* height: fit-content; */
    width: 100%;
    display: flex; 
    flex-direction: row;
    flex-wrap: wrap; 
    justify-content: space-around;
}
.title{
    text-align: center;
    margin-bottom: 10px;
}
.left-Container{
    display: flex;
    flex-direction:column;
    justify-content: space-evenly;
    align-items: center;
    /* border:solid lightblue 2px; */
    border-radius: 25px;
    width: 500px;
    height: 400px;
}
article{
    /* border:solid white 2px; */
    color:white;
    margin:5px;
    width: 450px;
    height: 400px;
    border-radius: 20px;
    display:flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items:center;
}
article .right{
    height: 150px;
}
article .right h2{
    text-align: center;
    display: inline-block;
}
article .social{
    margin:0px;
}
article h2{
    padding-top: 0%;
    padding-bottom: 0%;
    color: #FB6894 ;
}
button{
    height: fit-content;
    width: fit-content; 
    padding:10px; 
    background-color:coral; 
    color: white; 
    border-radius: 25px; 
    border:"none";
    margin-top:20px;
    margin-bottom:10px
}
button p{
    margin:0px;
    font-weight: 50;
    font-size:20px;
    padding-left: 2px;
    padding-right:2px;
}
button :hover{
    color:#dddddd;
    /* font-weight:200; */
}
table{
    width:300px;
    height: fit-content;
    margin:0px;
}
table tr{
    margin:0px;
    padding:0px;
}
table tr td{
    align-items: center;
}
section .skills{
    height:fit-content;
    width:100%;
}
.skills article h2{
    color: #fff;
    text-shadow: 5px 6px 9px coral;
    /* text-shadow: 2px 2px 5px red; */
}
article h2{
    margin:10px;
    font-weight:100;
}
h2{
    font-size: 30px;
    margin-top:20px;
    margin-bottom:20px;
    margin-left:0px;
    margin-right:0px;
    font-weight: 0;
}
p{
    font-size: 25px;
}
.right table tr{
    height: 50px;
}
.progress-bar{
    width:300px;
    height:10px;
    /* background-color:white; */
    background-color: black;
    border-radius:20px;
    position: relative;
    box-shadow: 2px 1px 3px 1px white;
}
.inner-bar{
    background-color:rgb(241, 116, 155);
    /* background-color: #808080; */
    border-radius: 20px;
    height:10px;
    width:5%;
    /* position: absolute; */
    transition: width 1.8s ease-in;
}
.first{
    width:1%;
    height:10px;
    background-color: white;
}
.table-para{
    font-size: 20px;
}
.logo{
    margin:0px;
}
.logo img{
    border-radius:50%;
}
.logo img:hover{
    border-radius:30%;
}
